package com.ruoyi.ucar.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ucar.boreq.WithdrawRecordDetailQueryBoReq;
import com.ruoyi.ucar.boreq.WithdrawRecordListQueryBoReq;
import com.ruoyi.ucar.boresp.WithdrawRecordDetailQueryBoResp;
import com.ruoyi.ucar.boresp.WithdrawRecordListQueryBoResp;
import com.ruoyi.ucar.domain.TWithdrawRecord;

/**
 * 提现记录Service接口
 * 
 * @author sungangbin
 * @date 2025-05-13
 */
public interface ITWithdrawRecordService extends IService<TWithdrawRecord>
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录主键
     * @return 提现记录
     */
    public TWithdrawRecord selectTWithdrawRecordById(Long id);

    /**
     * 查询提现记录列表
     * 
     * @param tWithdrawRecord 提现记录
     * @return 提现记录集合
     */
    public List<TWithdrawRecord> selectTWithdrawRecordList(TWithdrawRecord tWithdrawRecord);

    /**
     * 新增提现记录
     * 
     * @param tWithdrawRecord 提现记录
     * @return 结果
     */
    public int insertTWithdrawRecord(TWithdrawRecord tWithdrawRecord);

    /**
     * 修改提现记录
     * 
     * @param tWithdrawRecord 提现记录
     * @return 结果
     */
    public int updateTWithdrawRecord(TWithdrawRecord tWithdrawRecord);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的提现记录主键集合
     * @return 结果
     */
    public int deleteTWithdrawRecordByIds(Long[] ids);

    /**
     * 删除提现记录信息
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteTWithdrawRecordById(Long id);

    public WithdrawRecordListQueryBoResp queryWithdrawRecordList(WithdrawRecordListQueryBoReq withdrawRecordListQueryBoReq);

    public WithdrawRecordDetailQueryBoResp withdrawRecordDetail(WithdrawRecordDetailQueryBoReq withdrawRecordDetailQueryBoReq);
}
